<!DOCTYPE html>
<html xmlns:th="https://www.thymeleaf.org"
	  xmlns:social="https://spring.io/springsocial"
	  xmlns:layout="https://github.com/ultraq/thymeleaf-layout-dialect"
	  layout:decorator="layout">
	<head>
		<title>Spring Social Showcase</title>
	</head>
	<body>
		<div id="header">
			<h1><a th:href="@{/}">Spring Social Showcase</a></h1>
		</div>
		
		<div id="content" layout:fragment="content">
			<h3>Your Twitter Friends</h3>
			
			<ul class="imagedList">
				<li class="imagedItem" th:each="profile : ${profiles}">
					<img th:src="${profile.profileImageUrl}" width="48" height="48"/>
					<a th:href="'https://twitter.com/' + ${profile.screenName}" th:text="${profile.screenName}">screen name</a>
				</li>
			</ul>
		</div>
	</body>
</html>
